package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.Comment;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CommentService extends IService<Comment> {
    List<Comment> getCommentsByArticleId(Integer articleId);

    Comment addComment(Integer articleId, Comment comment);
}

